logs = '''
111.30.144.7 "POST /mock/login/?t=GET HTTP/1.1" 200 
111.30.144.7 "Get /mock/users/?t=POST HTTP/1.1" 200 
111.13.100.92 "Post /mock/login/ HTTP/1.1" 200 
223.88.60.88 "GET /mock/users/?t=POST HTTP/1.1" 200 
111.30.144.7 "GET /mock/users/ HTTP/1.1" 200 
'''


POST_NUM = 0
GET_NUM = 0
lst = logs.strip().split('\n')
for line in lst:
    line_lst = line.split(' ')
    request_method = line_lst[1].split('"')[1].upper()
    if request_method == 'POST':
        POST_NUM += 1
    elif request_method == 'GET':
        GET_NUM += 1


print('POST Method total {}'.format(POST_NUM))
print('GET Method total {}'.format(GET_NUM))